package lec10.am;

import java.io.File;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
import java.util.Scanner;

public class Main {
	static Scanner cin;
	static PrintWriter cout = new PrintWriter(System.out);
	static class Point{
		
	}
	static {
		try {
			cin = new Scanner(new File("1000.in"));
		} catch (FileNotFoundException e) {
			cin = new Scanner(System.in);
		}
	}

	public static void main(String[] args) {
		while (cin.hasNext()) {
			System.out.println(cin.nextInt() + cin.nextInt());
		}
		cin.close();
		cout.close();
	}

}
